home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / MacGS 2.5.2ß3 / (MacGSLib.π) / gmacres.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-17  |  2.7 KB  |  142 lines  |  [TEXT/R*ch]

  1. #ifndef _H_gmacres
  2. #define    _H_gmacres
  3.  
  4. /* Copyright (C) 1993 Aladdin Enterprises.  All rights reserved.
  5.    Distributed by Free Software Foundation, Inc.
  6.  
  7. This file is part of Ghostscript.
  8.  
  9. Ghostscript is distributed in the hope that it will be useful, but
  10. WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  11. to anyone for the consequences of using it or for whether it serves any
  12. particular purpose or works at all, unless he says so in writing.  Refer
  13. to the Ghostscript General Public License for full details.
  14.  
  15. Everyone is granted permission to copy, modify and redistribute
  16. Ghostscript, but only under the conditions described in the Ghostscript
  17. General Public License.  A copy of this license is supposed to have been
  18. given to you along with Ghostscript so you can know your rights and
  19. responsibilities.  It should be in a file named COPYING.  Among other
  20. things, the copyright notice and this notice must be preserved on all
  21. copies.  */
  22.  
  23.  
  24. #define MACPREFS_RES_TYPE            'pref'
  25.  
  26. enum
  27. {
  28.     MACPREFS_RES_ID = 128,        /*    'pref'    */
  29.  
  30.     MACSTRS_RES_ID = 128,        /*    'STR#'    */
  31.     MACPSSTRS_RES_ID,
  32.     MACMENUSTRS_RES_ID,
  33.     MACALERTSTRS_RES_ID,
  34.     MACPAPALERTSTRS_RES_ID,
  35.  
  36.     MACICON_RES_ID = 128,        /*    'curs'    */
  37.  
  38.     MACSPLASHDLOG = 128,        /*    'DLOG'    */
  39.     MACNOCOLORQDDLOG,
  40.     MACALERTDLOG,
  41.     MACSETDEVICEDLOG,
  42.     MACSAVESELECTIONDLOG = 133,
  43.  
  44.     MACVMERROR = 132,            /*    'ALRT'    */
  45.  
  46.     __LAST_MACSTRS_RES_ID
  47. };
  48.  
  49.  
  50. enum    /*    MACSTRS_RES_ID 'STR#'    */
  51. {
  52.     iGSLibPathStr         = 1,
  53.     iGSInitFileStr,
  54.     iConsoleWinTitleStr,
  55.     iGraphicsWinTitleStr,
  56.     iMacGSMenuNameStr,
  57.     iSavePictureNameStr,
  58.     iSFPutPromptStr,
  59.     iPSExtensionStr,
  60.     iPictExtensionStr,
  61.  
  62.     __iLastStrStr__
  63. };
  64.  
  65.  
  66. enum    /*    MACPSSTRS_RES_ID 'STR#'    */
  67. {
  68.     iLaserPrepStr = 1,
  69.  
  70.     iMacRunFile,
  71.  
  72.     iShowpageOrig,
  73.     iShowpageMac,
  74.     iShowpageNoPrompt,
  75.  
  76.     iMacSetDevice,
  77.  
  78.     __iLastPSStrStr__
  79. };
  80.  
  81.  
  82. enum    /*    MACMENUSTRS_RES_ID 'STR#'    */
  83. {
  84.     iAboutMenuStr = 1,
  85.     iOpenFileMenuStr,
  86.     iConfigureMenuStr,
  87.     iLaserPrepMenuStr,
  88.     iSavePictureMenuStr,
  89.     iPrintMenuStr,
  90.     iCommandMenuStr,
  91.  
  92.     iGraphicsWindowStr,
  93.  
  94.     __iLastMenuStrStr__
  95. };
  96.  
  97.  
  98. enum    /*    MACALERTSTRS_RES_ID 'STR#'    */
  99. {
  100.     iMissingInitFile = 1,
  101.     iUnableToLoadLaserPrep,
  102.  
  103.     /*    malloc () failures    */
  104.  
  105.     iCouldNotAllocateFmt,
  106.  
  107.     iWindowCreationFailed,
  108.     iClipRegionCreationFailed,
  109.     iSaveRegionCreationFailed,
  110.     iUpdRegionCreationFailed,
  111.     iPictWinCreationFailed,
  112.     iClippedPictCreationFailed,
  113.  
  114.     __iLastAlertStrStr__
  115. };
  116.  
  117.  
  118. enum    /*    MACPAPALERTSTRS_RES_ID 'STR#'    */
  119. {
  120.     iLWNotFound,
  121.     iLWCommInterrupted,
  122.     iPrinterDriverNotFound6,
  123.     iLWHasSpooler,
  124.     iNoLWPrinterSelected,
  125.     iNoPrinterSelected,
  126.     iPSError,
  127.     iMissingLWResources,
  128.     iNotLWPrinter,
  129.     iPrinterDriverNotFound7,
  130.  
  131.     __iLastPAPAlertStrStr__
  132. };
  133.  
  134.  
  135. #define rFSFType        (ResType) '^FSF'
  136. #define rFSFID            0
  137.  
  138. #define NUM_MAC_WATCH_CURS        8
  139.  
  140.  
  141. #endif /* _H_gmacres */
  142.